﻿namespace PLM.ConfigurationCenter.Model {
    public class UserInfo {
        #region 用户信息

        /// <summary>
        /// 用户主键
        /// </summary>		
        public string UserOid { get; set; }
        /// <summary>
        /// 用户账号
        /// </summary>	
        public string UserId { get; set; }
        /// <summary>
        /// 登录密码
        /// </summary>		
        public string Password { get; set; }
        /// <summary>
        /// 密码秘钥
        /// </summary>	
        //public string secretkey { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 呢称
        /// </summary>	
        //public string nickName { get; set; }
        /// <summary>
        /// 头像
        /// </summary>	
        //public string headIcon { get; set; }
        /// <summary>
        /// 性别
        /// </summary>	
        public string Gender { get; set; }
        /// <summary>
        /// 手机
        /// </summary>	
        public string Phone { get; set; }
        /// <summary>
        /// 电话
        /// </summary>		
        //public string Phone { get; set; }
        /// <summary>
        /// 电子邮件
        /// </summary>	
        public string Email { get; set; }
        /// <summary>
        /// QQ号
        /// </summary>		
        //public string oICQ { get; set; }
        /// <summary>
        /// 微信号
        /// </summary>	
        //public string weChat { get; set; }
        /// <summary>
        /// 公司主键
        /// </summary>		
        //public string OrgId { get; set; }
        /// <summary>
        /// 所在公司及下属公司
        /// </summary>
        //public List<string> companyIds { get; set; }
        /// <summary>
        /// 部门主键
        /// </summary>		
        public string OrgId { get; set; }
        public string OrgName { get; set; }
        /// <summary>
        /// 所在部门及下属部门
        /// </summary>
        //public List<string> departmentIds { get; set; }
        /// <summary>
        /// 单点登录标识
        /// </summary>		
        //public int OpenId { get; set; }
        /// <summary>
        /// 角色信息
        /// </summary>
        public string RoleId { get; set; }
        /// <summary>
        /// 岗位信息
        /// </summary>
        //public string postIds { get; set; }
        /// <summary>
        /// 是否是超级管理员
        /// </summary>
        public bool IsSystem { get; set; }

        /// <summary>
        /// 主题页是否含有报表
        /// 默认是false 没有的
        /// </summary>
        public bool isHaveBIData { get; set; } = false;
        #endregion

        #region 扩展信息
        /// <summary>
        /// 应用Id
        /// </summary>
        public string AppId { get; set; }
        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime LogTime { get; set; }
        /// <summary>
        /// 登录IP地址
        /// </summary>
        public string IPAddress { get; set; }
        /// <summary>
        /// 浏览器名称
        /// </summary>
        public string Browser { get; set; }
        /// <summary>
        /// 登录者标识
        /// </summary>
        public string LoginMark { get; set; }
        /// <summary>
        /// 票据信息
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 即时通讯地址
        /// </summary>
        public string ImUrl { get; set; }
        /// <summary>
        /// 流程实例Id
        /// </summary>
        public string WfProcessId { get; set; }
        /// <summary>
        /// 头像地址
        /// </summary>
        public string UserPhotoUrl { get; set; }
        /// <summary>
        /// 签名文件oid
        /// </summary>
        public string SignFileOid { get; set; }

        /// <summary>
        /// 头像id
        /// </summary>
        public string PhotoFileOid { get; set; }
        /// <summary>
        /// 图片名称
        /// </summary>
        public string PhotoFileName { get; set; }
        /// <summary>
        /// 安全等级
        /// </summary>
        public int? Security { get; set; }
        #endregion
    }
}
